extends layout

block content
    .container
        .nav
            div
                form(method="post" action="/")
                    input.iptext(type="text", name="ip", placeholder="IP address")
                    input.btn(type="submit" value="submit")
            a(href="/")
                h2 IP-S
        hr
        .information.container
            h1= ip
            img(src="https://maps.googleapis.com/maps/api/staticmap?center=#{lat},#{lon}&zoom=9&size=640x200&sensor=false", alt="#{ip}", id="map")
            table
                tr
                    td Information
                    td #{inf}
                tr
                    td Network
                    td #{network}
                tr
                    td Location
                    td #{lat} #{lon}
        p.info Powerby NodeJS, Data from MaxMind. Open Source in 
            a(href="/") Github.
        .footer
            hr
            div
                h3 SundayDX